package September6;

public class circle {
    private  double radius;

    public circle(double radius) {
        this.radius = radius;
    }

    public  double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public  double getzhouchang(){
       return 2*radius*Math.PI;
    }

    public  double getmianji(){
        return Math.PI*radius*radius;
    }
}
